<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
<form action="http://www.baidu.com">
  用户名：<input type="text" name="username" maxlength="5"
             value="abc" readonly><br>
  密码：<input type="password" name="password"><br>
  性别: <input type="radio" name="gender" value="m" id="r1">
    <label for="r1">男</label>
   <input type="radio" name="gender" checked value="w" id="r2">
    <label for="r2">女</label>
    <br>
    兴趣爱好：<input type="checkbox" name="hobby" value="c">吃
    <input type="checkbox" name="hobby" value="h">喝
    <input type="checkbox" name="hobby" checked value="p">嫖
    <input type="checkbox" name="hobby" value="d">赌<br>
    生日：<input type="date" name="birthday"><br>
    靓照：<input type="file" name="pic"><br>
    所在地：
    <select name="city" id="">
        <option value="bj">北京</option>
        <option value="sh">上海</option>
        <option value="gz" selected>广州</option>
    </select><br>
  <input type="submit" value="注册">
</form>
</body>
</html>